<extend name="Common:grid"/>
<!-- 
 ------------------------------------------------------
  友情链接列表页面
 ------------------------------------------------------
 -->
<block name="extOptions">
$.extend(defaultJqGridOptions,{
	colModel:[
		{name:"id",index:"id",hidden:true},
		{name:"link",index:"link",width:120,align:"left",sortable:false,editable:true,edittype:"textarea",search:false,editrules:{required:true},formoptions:{elmsuffix:"&nbsp;*"}},
		{name:"title",index:"title",width:100,align:"left",sortable:false,editable:true,search:false,editrules:{required:true},formoptions:{elmsuffix:"&nbsp;*"}},
		{name:"url",index:"url",width:120,align:"left",sortable:false,editable:true,edittype:"textarea",search:false},
		{name:"show",index:"show",width:50,align:"center",sortable:false,editable:true,edittype:"select",
			formatter:"select",editoptions:{value:"1:是;0:否"},search:true,stype:"select",searchoptions:{value:"1:是;0:否"}},
		{name:"position",index:"position",width:60,align:"center",sortable:true,editoptions:{defaultValue:"0"},editable:true,editrules:{integer:true,minValue:0},search:false}
	],
	sortname:"position"
});
</block>